UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Global initialization files must contain the mesg -n or mesg n commands.


Overview

Finding ID Version Rule ID IA Controls Severity
V-825 GEN001780 SV-63875r1_rule ECSC-1 Low
Description
If the "mesg -n" or "mesg n" command is not placed into the system profile, messaging can be used to cause a Denial of Service attack.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2015-06-05

Details

Check Text ( C-52413r1_chk )
Check global initialization files for the presence of "mesg -n" or "mesg n".

Procedure:
# grep "mesg" etc/bashrc /etc/csh.cshrc /etc/csh.login /etc/csh.logout /etc/environment /etc/ksh.kshrc /etc/profile /etc/suid_profile /etc/profile.d/*

If no global initialization files contain "mesg -n" or "mesg n", this is a finding.
Fix Text (F-54449r1_fix)
Edit /etc/profile or another global initialization script, and add the "mesg -n" command.